﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CandidateResultLetter" targetNamespace="http://tempuri.org/CandidateResultLetter.xsd" xmlns:mstns="http://tempuri.org/CandidateResultLetter.xsd" xmlns="http://tempuri.org/CandidateResultLetter.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="ConnLeadCreation" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ConnLeadCreation (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.ConnLeadCreation.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Usp_GetCandidateResultLetterTableAdapter" GeneratorDataComponentClassName="Usp_GetCandidateResultLetterTableAdapter" Name="Usp_GetCandidateResultLetter" UserDataComponentName="Usp_GetCandidateResultLetterTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ConnLeadCreation (Web.config)" DbObjectName="IQKS_UAT.dbo.Usp_GetCandidateResultLetter" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.Usp_GetCandidateResultLetter</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@CandidateId" Precision="0" ProviderType="VarChar" Scale="0" Size="150" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@RegistrationNo" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CandidateId" DataSetColumn="CandidateId" />
              <Mapping SourceColumn="RegistrationNo" DataSetColumn="RegistrationNo" />
              <Mapping SourceColumn="ResultLetterId" DataSetColumn="ResultLetterId" />
              <Mapping SourceColumn="Pg1Txt" DataSetColumn="Pg1Txt" />
              <Mapping SourceColumn="Pg2Txt" DataSetColumn="Pg2Txt" />
              <Mapping SourceColumn="Pg3Txt" DataSetColumn="Pg3Txt" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CandidateResultLetter" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="CandidateResultLetter" msprop:Generator_DataSetName="CandidateResultLetter">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Usp_GetCandidateResultLetter" msprop:Generator_TableClassName="Usp_GetCandidateResultLetterDataTable" msprop:Generator_TableVarName="tableUsp_GetCandidateResultLetter" msprop:Generator_TablePropName="Usp_GetCandidateResultLetter" msprop:Generator_RowDeletingName="Usp_GetCandidateResultLetterRowDeleting" msprop:Generator_RowChangingName="Usp_GetCandidateResultLetterRowChanging" msprop:Generator_RowEvHandlerName="Usp_GetCandidateResultLetterRowChangeEventHandler" msprop:Generator_RowDeletedName="Usp_GetCandidateResultLetterRowDeleted" msprop:Generator_UserTableName="Usp_GetCandidateResultLetter" msprop:Generator_RowChangedName="Usp_GetCandidateResultLetterRowChanged" msprop:Generator_RowEvArgName="Usp_GetCandidateResultLetterRowChangeEvent" msprop:Generator_RowClassName="Usp_GetCandidateResultLetterRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CandidateId" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCandidateId" msprop:Generator_ColumnPropNameInRow="CandidateId" msprop:Generator_ColumnPropNameInTable="CandidateIdColumn" msprop:Generator_UserColumnName="CandidateId" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="150" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="RegistrationNo" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnRegistrationNo" msprop:Generator_ColumnPropNameInRow="RegistrationNo" msprop:Generator_ColumnPropNameInTable="RegistrationNoColumn" msprop:Generator_UserColumnName="RegistrationNo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ResultLetterId" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnResultLetterId" msprop:Generator_ColumnPropNameInRow="ResultLetterId" msprop:Generator_ColumnPropNameInTable="ResultLetterIdColumn" msprop:Generator_UserColumnName="ResultLetterId" type="xs:int" minOccurs="0" />
              <xs:element name="Pg1Txt" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnPg1Txt" msprop:Generator_ColumnPropNameInRow="Pg1Txt" msprop:Generator_ColumnPropNameInTable="Pg1TxtColumn" msprop:Generator_UserColumnName="Pg1Txt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Pg2Txt" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnPg2Txt" msprop:Generator_ColumnPropNameInRow="Pg2Txt" msprop:Generator_ColumnPropNameInTable="Pg2TxtColumn" msprop:Generator_UserColumnName="Pg2Txt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Pg3Txt" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnPg3Txt" msprop:Generator_ColumnPropNameInRow="Pg3Txt" msprop:Generator_ColumnPropNameInTable="Pg3TxtColumn" msprop:Generator_UserColumnName="Pg3Txt" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>